<?php if (!defined('DB_PEREFIX')) exit;

global $_POST, $db, $GLOBAL_USER;

if (!isset($_GET['id'])) exit;

$id = intval ($_GET['id']);

$db->query ("UPDATE ".DB_PEREFIX."_articles SET art_publik = 'yes' WHERE art_id = '$id'");

exit;

?>
